$OpenBSD: patch-mk_cmake_Modules_FindMiniupnpc_cmake,v 1.3 2015/04/06 12:49:52 stsp Exp $
--- mk/cmake/Modules/FindMiniupnpc.cmake.orig	Mon Mar  9 00:09:10 2015
+++ mk/cmake/Modules/FindMiniupnpc.cmake	Mon Apr  6 10:35:53 2015
@@ -154,6 +154,7 @@ if (MINIUPNP_FOUND)
             {
                 char externalIP[16]     = \"\";
                 int compileTest = 1;
+	        externalIP[0] = '\0';
 	        if(compileTest == 0) UPNP_GetExternalIPAddress(urls.controlURL, data.first.servicetype, externalIP);
 
                 return 0;
@@ -175,6 +176,7 @@ if (MINIUPNP_FOUND)
             {
                 char externalIP[16]     = \"\";
                 int compileTest = 1;
+	        externalIP[0] = '\0';
 	        if(compileTest == 0) UPNP_GetExternalIPAddress(urls.controlURL, data.servicetype, externalIP);
 
                 return 0;
